package inter.face.interface1.Exer;

/**
 * @author shkstart
 * @date 2022/6/8 - 22:11
 */
interface A{
    int x = 0;
}

class B{
    int x = 1;
}
 class C extends B implements A {
    public void pX() {
//        编译不通过,因为x是不确定的
//        System.out.println(x);
        System.out.println(super.x); //1
        System.out.println(A.x); //0
    }

     public static void main(String[] args) {
         new C().pX();
     }
}
